/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ace.game.entity;

import ace.geometry.Vertex2D;
import javax.microedition.lcdui.Graphics;
import ace.system.Utilities;
import java.util.Vector;

/**
 *
 * @author TimotiusNC
 */
public abstract class Entity {
    public Entity(){
		//Do nothing
	}

    public boolean collide(Entity other, float threshold) {
        return Vertex2D.range(position, other.position) < threshold;
    }

    public abstract void draw(Graphics g, int startX, int startY, int endX, int endY);
    //Position
	public Vertex2D position;
}
